package com.sj.boot.modules.sys.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.sj.boot.common.spring.data.AbstractEntity;
import lombok.*;

import javax.persistence.Entity;
import java.util.Date;

@Data
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Entity(name = "t_activity")
@Builder
@EqualsAndHashCode(callSuper = true)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler"})
public class Activity extends AbstractEntity<Activity> {


    private String caption;

    private String content;

    private String location;

    private float lat;

    private float lng;

    private Date startDate;

    private Date endDate;

    private Integer isFace;

    private Integer isLocation;

    private Integer isPhoto;

    private  String photoUrl;



}
